package com.itheima.bean;

public class Stucord {
    private Integer id;
    private String cord;

    public Stucord() {
    }

    private Person person;

    public Stucord(Integer id, String cord, Person person) {
        this.id = id;
        this.cord = cord;

        this.person = person;
    }

    @Override
    public String toString() {
        return "Stucord{" +
                "id=" + id +
                ", cord='" + cord + '\'' +
                ", person=" + person +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCord() {
        return cord;
    }

    public void setCord(String cord) {
        this.cord = cord;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }
}
